<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Chat</title>
</head>
<body>
	<%
		Integer count = (Integer)application.getAttribute("count");
		if (count == null) {
			count = new Integer(0);
		}
		count++;
		application.setAttribute("count", count);
	%>
	<p>欢迎加入群聊，现在在线人数为<%=count %>人。</p>
</body>
</html>